package com.atde._04_structural_design_patterns.adapter.classadapter;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._04_structural_design_patterns.adapter.classadapter
 * @Author: Del
 * @CreateTime: 2025-06-18  19:53
 * @Description: 适配器模式 --- 类适配器模式 --- 被适配的类
 * @Version: 1.0
 */
public class Voltege220V {
    // 输出220V电压
    public int output220V(){
       int src = 220;
       System.out.println("电压：" + src + "伏");
       return src;
    }
}
